TimeInfo/Get
Function
This API allows the working device to retrieve the time period for backup recordings from the hot standby device.
Request Message
None
Sample:
POST /API/RecordPatch/TimeInfo/Get HTTP/1.1
{
"data":{}
}
Response Message
Parameter Description
Table 1
Parameter | Range | Type | Description |
---|---|---|---|
channels | object | For detailed information, please refer to Table 2. |
Table 2
Parameter | Range | Type | Description |
---|---|---|---|
"CH1"…"CHx" "IP_CH1"…"IP_CHx" "WIFI_CH1"…"WIFI_CHx" | 0 ~ 4 | object array | For detailed information, please refer to Table 3. |
Table 3
Parameter | Range | Type | Description |
---|---|---|---|
start_time | int | Starting time. | |
end_time | int | Ending time. |
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {
"channels": {
"CH1": [
{
"start_time": 1481290144,
"end_time": 1481290249
}
]
}
}
}